package com.missilike.biz;

import com.missilike.domain.response.CollectionResponse;
import com.missilike.repository.entity.MilContentCollection;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author kin
 * @since 2019-01-17
 */
public interface IMilContentCollectionService extends IService<MilContentCollection> {

    void setAccountContentService(IMilAccountContentService contentService);

    List<MilContentCollection> getCollectionList(Long id);

//    CollectionResponse getUserBeCollectionList(String accountId, Integer pageSize, Long lastId);

    CollectionResponse getUserBeCollectedList(String accountId, Integer pageSize, Long lastId, Integer type);

    CollectionResponse getUserCollectionList(String accountId, Integer pageSize, Long lastId, Integer type);

    boolean add(String accountId, Long contentId, String collectionAccountId);

    Integer getUserCollectionCount(String accountId);

    Integer getUserBeCollectionCount(String accountId);
}
